﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Youz.Common.Entity
{
    public class ReturnMessage
    {
        public bool Result { set; get; }

        public string Message { set; get; }

        public object Object { set; get; }

        public ReturnMessage(bool result, string message, object obj)
        {
            this.Result = result;
            this.Message = message;
            this.Object = obj;
        }

        public ReturnMessage(bool result, string message)
        {
            this.Result = result;
            this.Message = message;
        }

        public ReturnMessage(bool result, object obj)
        {
            this.Result = result;
            this.Object = obj;
        }

        public ReturnMessage(bool result)
        {
            this.Result = result;
        }

        public ReturnMessage() { }
    }
}
